Connecting to the Internet
108
Getting Started Guide
modem
crtscts
defaultroute
noipdefault
user username
The “username” in this script is the user account at your ISP. Use the
number “38400” in the script for a 28.8Kbps modems; use 115200 for
56K modems.
NOTE: The next three steps assume your ISP uses PAP
authentication. If you use manual or CHAP authentication,
contact your ISP for additional information.
7.
Create the /etc/ppp/chat-script file with the following lines:
ABORT BUSY
ABORT "NO DIAL TONE"
"" ATDT5551212
CONNECT ""
The “5551212” in the script is the phone number to dial to connect to your
ISP.
8.
Create an authentication file named /etc/ppp/pap-secrets that con-
tains these lines:
username * password
In this file, “username” is your ISP username and “password” is your ISP
account password in plaintext (for example, bob * GfG2vhY).
9.
Make the /etc/ppp/pap-secrets file secure by executing this command:
chmod 600 /etc/ppp/pap-secrets
To start up your script-based PPP Connection:
1.
Enter this command from a terminal emulator or console:
pppd
Your modem uses the scripts you created to dial your ISP and connect.
Depending on the speed of your ISP’s authentication process, your system
will be connected to your ISP within 15–45 seconds of hearing the dial
tone.